s = '   dl_hello world  '
print(s)
print(s.lstrip())
s1 = 'dl_hello world'
print(s1.strip('ld'))   # ld和dl都去掉了，与顺序无关
print(s1.rstrip('ld'))